﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Wedn.Core.Utility;

namespace Wedn.Web.UI
{
    public class AdminInclude : AdminPage
    {
        protected override void OnInit(EventArgs e)
        {
            if (RequestHelper.IsGet)
                Response.Redirect("/admin/default.aspx#" + Path.GetFileNameWithoutExtension(Request.PhysicalPath));
            base.OnInit(e);
            //防止浏览器缓存
            //Response.AddHeader("Pragma", "No-cache");
            //Response.AddHeader("Cache-Control", "no-cache");
            //Response.AddHeader("Expires", "0");
        }
    }
}
